// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import {
  Carousel,
  CarouselItem
} from 'element-ui';
import axios from "axios"

Vue.use(Carousel).use(CarouselItem)

Vue.config.productionTip = false

axios.defaults.timeout=5000
axios.defaults.baseURL="http://api2.paipaixingqiu.com"//正式接口
Vue.prototype.$axios= axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>'
})
